﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001335 RID: 4917
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeChapterRewardScRsp : IMessage<TakeChapterRewardScRsp>, IMessage, IEquatable<TakeChapterRewardScRsp>, IDeepCloneable<TakeChapterRewardScRsp>, IBufferMessage
	{
		// Token: 0x17003E05 RID: 15877
		// (get) Token: 0x0600DC1B RID: 56347 RVA: 0x0024D61D File Offset: 0x0024B81D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeChapterRewardScRsp> Parser
		{
			get
			{
				return TakeChapterRewardScRsp._parser;
			}
		}

		// Token: 0x17003E06 RID: 15878
		// (get) Token: 0x0600DC1C RID: 56348 RVA: 0x0024D624 File Offset: 0x0024B824
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeChapterRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E07 RID: 15879
		// (get) Token: 0x0600DC1D RID: 56349 RVA: 0x0024D636 File Offset: 0x0024B836
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeChapterRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600DC1E RID: 56350 RVA: 0x0024D63D File Offset: 0x0024B83D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChapterRewardScRsp()
		{
		}

		// Token: 0x0600DC1F RID: 56351 RVA: 0x0024D645 File Offset: 0x0024B845
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChapterRewardScRsp(TakeChapterRewardScRsp other) : this()
		{
			this.pNOAKGNANBO_ = other.pNOAKGNANBO_;
			this.nCLHEOJCFDM_ = other.nCLHEOJCFDM_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DC20 RID: 56352 RVA: 0x0024D682 File Offset: 0x0024B882
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChapterRewardScRsp Clone()
		{
			return new TakeChapterRewardScRsp(this);
		}

		// Token: 0x17003E08 RID: 15880
		// (get) Token: 0x0600DC21 RID: 56353 RVA: 0x0024D68A File Offset: 0x0024B88A
		// (set) Token: 0x0600DC22 RID: 56354 RVA: 0x0024D692 File Offset: 0x0024B892
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PNOAKGNANBO
		{
			get
			{
				return this.pNOAKGNANBO_;
			}
			set
			{
				this.pNOAKGNANBO_ = value;
			}
		}

		// Token: 0x17003E09 RID: 15881
		// (get) Token: 0x0600DC23 RID: 56355 RVA: 0x0024D69B File Offset: 0x0024B89B
		// (set) Token: 0x0600DC24 RID: 56356 RVA: 0x0024D6A3 File Offset: 0x0024B8A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NCLHEOJCFDM
		{
			get
			{
				return this.nCLHEOJCFDM_;
			}
			set
			{
				this.nCLHEOJCFDM_ = value;
			}
		}

		// Token: 0x17003E0A RID: 15882
		// (get) Token: 0x0600DC25 RID: 56357 RVA: 0x0024D6AC File Offset: 0x0024B8AC
		// (set) Token: 0x0600DC26 RID: 56358 RVA: 0x0024D6B4 File Offset: 0x0024B8B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600DC27 RID: 56359 RVA: 0x0024D6BD File Offset: 0x0024B8BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeChapterRewardScRsp);
		}

		// Token: 0x0600DC28 RID: 56360 RVA: 0x0024D6CC File Offset: 0x0024B8CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeChapterRewardScRsp other)
		{
			return other != null && (other == this || (this.PNOAKGNANBO == other.PNOAKGNANBO && this.NCLHEOJCFDM == other.NCLHEOJCFDM && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DC29 RID: 56361 RVA: 0x0024D728 File Offset: 0x0024B928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PNOAKGNANBO != 0U)
			{
				num ^= this.PNOAKGNANBO.GetHashCode();
			}
			if (this.NCLHEOJCFDM != 0U)
			{
				num ^= this.NCLHEOJCFDM.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DC2A RID: 56362 RVA: 0x0024D799 File Offset: 0x0024B999
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DC2B RID: 56363 RVA: 0x0024D7A1 File Offset: 0x0024B9A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DC2C RID: 56364 RVA: 0x0024D7AC File Offset: 0x0024B9AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NCLHEOJCFDM != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.NCLHEOJCFDM);
			}
			if (this.PNOAKGNANBO != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.PNOAKGNANBO);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DC2D RID: 56365 RVA: 0x0024D824 File Offset: 0x0024BA24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PNOAKGNANBO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PNOAKGNANBO);
			}
			if (this.NCLHEOJCFDM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NCLHEOJCFDM);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DC2E RID: 56366 RVA: 0x0024D894 File Offset: 0x0024BA94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeChapterRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PNOAKGNANBO != 0U)
			{
				this.PNOAKGNANBO = other.PNOAKGNANBO;
			}
			if (other.NCLHEOJCFDM != 0U)
			{
				this.NCLHEOJCFDM = other.NCLHEOJCFDM;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DC2F RID: 56367 RVA: 0x0024D8F8 File Offset: 0x0024BAF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DC30 RID: 56368 RVA: 0x0024D904 File Offset: 0x0024BB04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 64U)
					{
						if (num != 72U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.PNOAKGNANBO = input.ReadUInt32();
					}
				}
				else
				{
					this.NCLHEOJCFDM = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005763 RID: 22371
		private static readonly MessageParser<TakeChapterRewardScRsp> _parser = new MessageParser<TakeChapterRewardScRsp>(() => new TakeChapterRewardScRsp());

		// Token: 0x04005764 RID: 22372
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005765 RID: 22373
		public const int PNOAKGNANBOFieldNumber = 8;

		// Token: 0x04005766 RID: 22374
		private uint pNOAKGNANBO_;

		// Token: 0x04005767 RID: 22375
		public const int NCLHEOJCFDMFieldNumber = 3;

		// Token: 0x04005768 RID: 22376
		private uint nCLHEOJCFDM_;

		// Token: 0x04005769 RID: 22377
		public const int RetcodeFieldNumber = 9;

		// Token: 0x0400576A RID: 22378
		private uint retcode_;
	}
}
